package com.system.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "lg.ncbc.ipay")
@PropertySource(value = "classpath:/lgpay.properties")
public class NBCBConfig {

	/**
	 * 定义常量
	 */
	/** 易收宝商户号 */
	public static String MCHNT_CD;// = "ipay.mchnt_cd";
	/** 商户私钥 */
	public static String PRIVATEKEY;// = "ipay.privateKey";
	/** 易收宝公钥 */
	public static String PUBLICKEY;// = "ipay.publicKey";
	/** 易收宝接口地址 */
	public static String URL;// = "ipay.url";
	/** 易收宝接口地址 */
	public static String NOTIFY_URL;// = "ipay.notify_url";
	/** 易收宝接口地址金牌商家专用 */
	public static String NOTIFY_URL_PAY;// = "ipay.notify_url_pay";

	public static String getMCHNT_CD() {
		return MCHNT_CD;
	}

	public void setMCHNT_CD(String mCHNT_CD) {
		MCHNT_CD = mCHNT_CD;
	}

	public static String getPRIVATEKEY() {
		return PRIVATEKEY;
	}

	public void setPRIVATEKEY(String pRIVATEKEY) {
		PRIVATEKEY = pRIVATEKEY;
	}

	public String getPUBLICKEY() {
		return PUBLICKEY;
	}

	public void setPUBLICKEY(String pUBLICKEY) {
		PUBLICKEY = pUBLICKEY;
	}

	public String getURL() {
		return URL;
	}

	public void setURL(String uRL) {
		URL = uRL;
	}

	public String getNOTIFY_URL() {
		return NOTIFY_URL;
	}

	public void setNOTIFY_URL(String nOTIFY_URL) {
		NOTIFY_URL = nOTIFY_URL;
	}

	public String getNOTIFY_URL_PAY() {
		return NOTIFY_URL_PAY;
	}

	public void setNOTIFY_URL_PAY(String nOTIFY_URL_PAY) {
		NOTIFY_URL_PAY = nOTIFY_URL_PAY;
	}

}
